ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonHelper Class / DeserializeObject Method / DeserializeObject<T>(String,JsonSetting) Method
The type of the object to deserialize to.
The object to deserialize.
The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used.

In This Topic
    DeserializeObject<T>(String,JsonSetting) Method
    In This Topic
    Deserializes the JSON to the specified .NET type using JsonSetting.
    Syntax
    'Declaration
     
    Public Overloads Shared Function DeserializeObject(Of T)( _
       ByVal strJson As String, _
       Optional ByVal js As JsonSetting _
    ) As T
    public static T DeserializeObject<T>( 
       string strJson,
       JsonSetting js
    )

    Parameters

    strJson
    The object to deserialize.
    js
    The JsonSetting used to deserialize the object. If this is null, default serialization settings will be used.

    Type Parameters

    T
    The type of the object to deserialize to.

    Return Value

    The deserialized object from the JSON string.
    See Also